* {
    box-sizing: border-box;
}

.mt20 {
    margin-top: 20px;
}

.flexA {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.mainBox {
    background-color: #fef7f7;
    height: 100%;
    width: 100%;
    padding: 10px;

}

.iconBox {
    position: relative;
    top: -50px;
    margin: 0 auto;
    border-radius: 1%;
    background-color: #ffffff;
    height: 300px;
    width: 1200px;
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns:20% 20% 20% 20% 20%;
    box-shadow: #e8e9ea 0 10px 20px;
    font-family: Source Han Sans CN-Medium, Source Han Sans CN;
    font-size: 16px;
    color: #333333;
    font-weight: 800;


}

.lesson-container {
    display: flex;
    justify-content: center;
}

.lessonBox {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns:25% 25% 25% 25%;
    gap: 20px;
    width: 1200px;
}
.lessonBox div:hover{
    cursor: pointer;
}
.lessonBox img {
    display: inline-block;
    width: 210px;
    height: 150px;
    border-radius: 10px;
}
.fit{
    object-fit: contain;
    /*border: 10px solid red;*/
    width: 100%;
}
.lessonBox div {
    background-color: #ffffff;
    box-shadow: #e8e9ea 0 10px 20px;
    border-radius: 10px;
    padding: 30px 20px 10px 20px;
    height: 260px;
    width: 250px;
}

.flexA:hover {
    background-color: #fef7f7;
    cursor: pointer;
}

.footBox {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(../../img/rural/map.png);
    margin-top: 80px;
    padding: 80px 0 120px 0
}

.box1 {
    width: 588px;
    height: 344px;
    background-color: #ffffff;
    box-shadow: 0px 3px 10px 1px rgba(0, 0, 0, 0.16);
    border-radius: 8px 8px 8px 8px;
    opacity: 1;
    margin: 30px;
    padding: 20px;
    background-image: url("../../img/rural/bgmsg.png");
}

.x {
    width: 5px;
    height: 30px;
    background: #FF5A5A;
    border-radius: 0px 0px 0px 0px;
    opacity: 1;
    display: inline-block;

}
.gd:hover{
    color: #ff5a5a;
}